package kr.snake75.web.member;

import java.util.List;

import javax.inject.Inject;

import org.springframework.stereotype.Service;

@Service
public class MemberServiceImpl implements MemberService {

	@Inject
	private MemberDAO dao;
	
	@Override
	public void create(MemberVO vo) throws Exception {
		dao.insert(vo);
	}

	@Override
	public List<MemberVO> selectAll() throws Exception {
		
		return dao.selectAll();
	}

	@Override
	public MemberVO select(String id) throws Exception {
		
		return dao.select(id);
	}
}
